home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
cxref200.zip
/
STRICMP.C
< prev
next >
Wrap
Text File
|
1993-01-04
|
233b
|
12 lines
int stricmp (a, b)
char *a, *b;
{
int Result;
while (((Result = toupper(*a++) - toupper(*b++)) == 0) && (*(a-1) != 0));
if (Result < 0) Result = -1;
if (Result > 0) Result = 1;
return(Result);
}